<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8" />
	<title>广州市澳凯家具有限公司</title>
	<meta name="keywords" content="家具，设计，广州市澳凯">
	<meta name="description" content="致力於引領辦公家具潮流的廣州市澳凱家具有限公司是一家集專業研發設計，生產製造，銷售與服務於一體的現代企業，工廠座落於享有中國家具之都之稱的廣州市。">
	<meta name='author' content='网站建设：智杰科技'>
	<meta name='viewport' content='width=1440' />
	<meta http-equiv="Cache-Control" content="no-transform" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link href="./css/build/public.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="./css/build/product.css">

	<style>
		.c_product_list-01006 .p_Product:hover .p_articles{
			padding: 0 20px;
		}
		.c_product_list-01006 .d_HeadBox,.c_product_list-01006 .d_title .font{
			height: auto;
		}
		.c_product_list-01006 .p_summary_1,.c_product_list-01006 .d_summary .font{
			padding: 0;
			width: 340px;
		}
		#projectBanner{
			background: #ccc;
		}
	</style>
</head>

<body>
	<div class="main pagebox">
		<div class="nav-wrap" id="publicNav"></div>
		<div id="c_breadcrumb_nav-15240348401094796" class="c_breadcrumb_nav-02001">
			<div class="e_box e_box-000 p_breadcrumbList" id="breadCrumbList">
			</div>
		</div>
		<div id="c_breadcrumb_nav-15240335781188202" class="c_breadcrumb_nav-02001" style="overflow: visible; height: 30px;">
			<div class="e_box e_box-000 p_breadcrumbList">
				<div class="e_breadcrumb e_breadcrumb-000 p_breadcrumbCurrent">
					<div class="font">
						<i class="iconfont before"></i>
						<span id="activeProductPath"></span>
						<i class="iconfont after"></i>
					</div>
				</div>
			</div>
		</div>
		<div id="c_product_list-1522657864497" class="c_product_list-01006">
			<div class="e_box e_articles-001 p_ProductList">
				<div class="e_box e_box-000 p_products" id="productListBox">
				
				</div>
				<div class="e_box e_OccupyBox-001 p_OccupyBox"></div>
			</div>
		</div>
	</div>
	<div class="footer-wrap" id="publicFooter"></div>
	<script src="js/jquery.min.js"></script>
	<script src="./js/public.js"></script>
	<script>
		function getPathRoute(){
			var type = getQueryString('type')
			var productNav =JSON.parse(localStorage.getItem("productNav"))
			var currentNav = productNav[type]
			var preNavId =currentNav.pid
			var str = '<div class="e_breadcrumb e_breadcrumb-000 p_breadcrumbCurrent"> <div class="font"> <i class="iconfont before"></i> <span>'+currentNav.text+'</span> <i class="iconfont after"></i> </div> </div>'
			$("#activeProductPath").html(currentNav.text)
			while (preNavId > 1) {
				currentNav = productNav[preNavId]
				preNavId = currentNav.pid
				str = '<div class="e_breadcrumb e_breadcrumb-001 p_breadcrumb"> <a href="product.html?type='+currentNav.id+'"> <div class="font"> <span>'+currentNav.text+'</span> </div> </a> </div> <div class="e_title e_GuideLabel-001 p_end  "> <div class="font"> <i class="iconfont"></i> <span class="i_separator">></span> </div> </div>' + str
			}
			str = '<div class="e_breadcrumb e_breadcrumb-001 p_breadcrumbFirst "> <a href="index.html"> <div class="font"> <i class="iconfont before"></i> <span class="i_homePage">首页</span> </div> </a> </div><div class="e_title e_GuideLabel-001 p_end  "> <div class="font"> <i class="iconfont"></i> <span class="i_separator">&gt;</span> </div> </div>' +str
			$("#breadCrumbList").html(str)
		}
		function getProductList(){
			var type = getQueryString('type')
			if (!type) {
				alert('产品类型不存在！')
				window.location.href = 'index.html'
			}
			$.ajax({
				type: 'POST',
				url: ajaxUrlObj['GET_PRODUCT_LIST'],
				data: {page:1,rows:1000,type:type},
				success: function(rep){
					if (typeof rep === 'string') {
						rep = JSON.parse(rep)
					}
					if (rep.code == 1){
						var data = typeof rep.data === 'string' ? JSON.parse(rep.data).rows : rep.data.rows
						var str = ''
						for(var i =0,l=data.length;i<l;i++){
							str+='<div class="e_box e_ProductBox-001 p_Product"> <div class="e_box e_box-000 p_images cut picture higher" style="padding-bottom: 100%; height: 0px;"> <a class="e_link e_link-000 p_linkB"> <div class="e_image e_image-000 p_image visible"> <img src="'+host+data[i].productImageList[0].imageUrl+'" > </div> </a> </div> <a href="product_details.html?id='+data[i].id+'&type='+data[i].productType.id+'" target="_parent" class="e_box e_box-000 d_articles p_articles"> <div class="e_box e_box-000 d_HeadBox p_HeadBox_1 "> <span class="e_title e_ImgTitle-001 d_title p_title_1 js-protitle"> <div class="font"><i class="iconfont"></i>'+data[i].productName+'</div> </span> </div> <div class="e_box e_box-000 d_SummaryBox p_SummaryBox_1 "> <div class="e_article e_summary-001 d_summary p_summary_1"> <div class="font js_singleLine js-fixLed is-truncated js-single" style="overflow-wrap: break-word;"> <i class="iconfont" style="display: inline-block;"></i> '+data[i].productDescribe+' </div> </div> </div> </a> </div>'
						}
						$("#productListBox").html(str)
					}
				},
				error: function(error){
					console.log(error)
				}
			});
		}
$(window).ready(function(){
	getPathRoute()
  getProductList()
})
	</script>
</body>

</html>